#ifndef ARMY_DOM_UNITS_H
#define ARMY_DOM_UNITS_H

#include <QList>
//=============================
#include "army_dom_unit.h"


class ArmyDomEmploye;

class ArmyDomCommander : public ArmyDomUnit
{
public:
    ArmyDomCommander() : ArmyDomUnit()
    {  }
    ArmyDomCommander(const QString& name, const QString& addr):
        ArmyDomUnit(name, addr)
    {  }
    ArmyDomCommander(const QString& name, const QString& addr, armydom::RankType rankType):
        ArmyDomUnit(name, addr, rankType)
    {  }

protected:
    QList<ArmyDomEmploye> m_employes;

};

class ArmyDomEmploye : public ArmyDomUnit
{
public:
    ArmyDomEmploye() : ArmyDomUnit()
    {  }
    ArmyDomEmploye(const QString& name, const QString& addr):
        ArmyDomUnit(name, addr)
    {  }
    ArmyDomEmploye(const QString& name, const QString& addr, armydom::RankType rankType):
        ArmyDomUnit(name, addr, rankType)
    {  }

protected:
    ArmyDomCommander m_subordinatedTo;
};



#endif // ARMY_DOM_UNITS_H


//class ArmyDomUnits
//{
//public:
//    ArmyDomUnits();
//};
